home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
fastlane.arc
/
TESTIME.ASM
next >
Wrap
Assembly Source File
|
1984-11-10
|
903b
|
51 lines
data segment public byte
; declare here any storage required by test routines
data ends
code segment public byte
assume cs: code
hextable db '0123456789ABCDEF'
public calib
calib proc near
; place the calibration code here
ret
calib endp
public test
test proc near
push bx
push dx
cld
mov dx, ax
mov ah, 4
mov bx, offset hextable
digloop: rol dx, 1
rol dx, 1
rol dx, 1
rol dx, 1
mov al, dl
and al, 0Fh
xlat hextable
stosb
dec ah
jnz digloop
pop dx
pop bx
ret
test endp
code ends
end